﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessObjectLayer
{
    public static class UserProfile
    {
        private static byte userID;
        private static string userName;
        private static string firstName;
        private static string lastName;
        private static string email;
        private static bool isActive;
        private static bool isAdmin;

        public static byte UserID
        {
            get
            {
                return userID;
            }
        }
        public static string UserName
        {
            get
            {
                return userName;
            }
        }
        public static string FisrtName
        {
            get
            {
                return firstName;
            }
        }
        public static string LastName
        {
            get
            {
                return lastName;
            }
        }
        public static string Email
        {
            get
            {
                return email;
            }
        }
        public static bool IsAdmin
        {
            get
            {
                return isAdmin;
            }
        }
        public static bool IsActive
        {
            get
            {
                return isActive;
            }
        }
        public static void Load(byte UserID, string UserName, string FirstName, string LastName, string Email, bool IsActive, bool IsAdmin)
        {
            userID = UserID;
            userName = UserName;
            firstName = FirstName;
            lastName = LastName;
            email = Email;
            isActive = IsActive;
            isAdmin = IsAdmin;
        }
    }
}
